package Test;

import java.sql.Date;
import java.text.SimpleDateFormat;

public class Test_Time {
    public static void main(String[] args) {
        long currentTime = System.currentTimeMillis();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy年-MM月dd日-HH时mm分ss秒");
        Date date = new Date(currentTime);
        System.out.println(formatter.format(date));
    }
}
